import React, { Component } from 'react';
import routes from './page'
import RouterView from './routerView'
import { BrowserRouter } from 'react-router-dom'
class Index extends Component {
  render() {
    return (
      <BrowserRouter>
        <RouterView routes={ routes }></RouterView>
      </BrowserRouter>
    );
  }
}

export default Index;
